<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>inweo.widgets.tree test</title>
		<script src="../lib/mootools.js"></script>
		<script src="../inweo.js"></script>
		<script type="text/javascript">
			function main() {
				inweo.require("box");
				inweo.require("tree");
				inweo.skin("Aero");

				var page = new inweo.widgets.vbox(this);
				page.space(100);

				var t1 = new inweo.widgets.tree();
				t1.widget.makeResizable();
				t1.widget.setStyle("width", 300);
				t1.widget.setStyle("border", "3px solid blue");
				page.pack(t1);

				var tm1 = new inweo.widgets.treeItem(t1);
				tm1.text("treeItem1");

				var tm2 = new inweo.widgets.treeItem(t1);
				tm2.text("treeItem2");

				var tm3 = new inweo.widgets.treeGroup(t1);
				tm3.text("treeItem3");

					var tm3_1 = new inweo.widgets.treeItem(tm3);
					tm3_1.text("treeItem3.1");

				var tm4 = new inweo.widgets.treeItem(t1);
				tm4.text("treeItem4");

				var tm5 = new inweo.widgets.treeItem(t1);
				tm5.text("treeItem5");
			}
		</script>
	</head>
	<body>
	</body>
</html>